package club.pchome.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/** 用户等级**/
@Table(name="t_rank")
public class TRank{
	/****/
	@Id
	private Long id;

	/****/
	@Column
	private Long userId;

	/**用户等级 0初级1中级2高级3特级4究极**/
	@Column
	private Integer rank;

	/**购买的生物能量总额**/
	@Column
	private BigDecimal buyze;

	/****/
	@Column
	private Date createTime;

	public void setId(Long id) {
		this.id=id;
	}

	public Long getId() {
		return this.id;
	}

	public void setUserId(Long userId) {
		this.userId=userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setRank(Integer rank) {
		this.rank=rank;
	}

	public Integer getRank() {
		return this.rank;
	}

	public void setBuyze(BigDecimal buyze) {
		this.buyze=buyze;
	}

	public BigDecimal getBuyze() {
		return this.buyze;
	}

	public void setCreateTime(Date createTime) {
		this.createTime=createTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

}